﻿using System;

namespace Sasa.QualityTools.CodeAnalysis.SearchEngine.Tests.Unit.Instruments
{
    public class WordCompiler : IWordCompiler<string>
    {
        public Func<string, bool> Compile(string word)
        {
            return s => s.Contains(word);
        }
    }
}
